package com.ruoyi.livesass.api.convert;

import org.mapstruct.Mapper;
import com.ruoyi.livesass.api.domain.LbsGksc;
import com.ruoyi.livesass.api.pojo.dto.LbsGkscDTO;
import com.ruoyi.livesass.api.pojo.vo.LbsGkscVO;
import java.util.List;
/**
 * 直播观看时长-今日（实际统计昨日）、本周、本月、全部按照次方式进行统计入库  DO <=> DTO <=> VO / BO / Query
 *
 * @author ydb
 */
@Mapper(componentModel = "spring")
public interface LbsGkscConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    LbsGkscDTO do2dto(LbsGksc source);

    /**
     * @param source DTO
     * @return DO
     */
    LbsGksc dto2do(LbsGkscDTO source);

    List<LbsGkscVO> dos2vos(List<LbsGksc> list);
}
